package com.lovebridge.service;

import com.jiehoo.ooqi.SearchResult;
import com.lovebridge.model.Base;

/**
 * IService.
 */
public interface IService
{
    SearchResult query(String name) throws Exception;

    void delete(Base object) throws Exception;

    void create(Base object) throws Exception;

    void update(Base object) throws Exception;
}
